﻿using mozhi.smarterp.Business.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Business.Purchases.Repositories
{
    public interface IPurchaseRequisitionRepository : IDocumentRepository<PurchaseRequisition , Guid>
    {
        Task<List<PurchaseRequisition>> GetPagedListAsync(string number, DateTime? startDate , DateTime? endDate , DocumentStatusType status , int skipCount, int maxResultCount, string sorting, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string number, DateTime? startDate, DateTime? endDate, DocumentStatusType status, CancellationToken cancellationToken = default(CancellationToken));
    }
}
